English Flag English Italiano Flag Italiano Español Flag Español Français Flag Français Deutsch Flag Deutsch Português Flag Português Ελληνικά Flag Ελληνικά Nederlands Flag Nederlands Polski Flag Polski Čeština Flag Čeština 中文 Flag 中文 日本語 Flag 日本語 हिन्दी Flag हिन्दी اللغة العربية Flag اللغة العربية Русский Flag Русский Українська Flag Українська עִברִית Flag עִברִית Türk Flag Türk Latvietis Flag Latvietis Dansk Flag Dansk Norsk Flag Norsk Íslenska Flag Íslenska 한국어 Flag 한국어 Suomen Flag Suomen Gaeilge Flag Gaeilge Bahasa Melayu Flag Bahasa Melayu Svenska Flag Svenska
User IconLog In
English Flag English

Log In

 

Passing parameters to the form

You can fill form fields automatically without any user interaction

QuintaDB has a pass parameters to form feature. In order to pass parameters throught URL you need to add ?0=VALUE&1=VALUE to the link, where 0, 1 - form field position, starting from zero.

You can find this link in the Integration tab on the Form widget menu:

Let's take the simple form, for example:

In the Integration tab on the Form Widget menu, you can copy the link and edit it.

We’ve got a URL like this:

The form opens by the link with already pre-filled fields:

You can hide these fields ("Name", "Email") from the user.

Go to the Form builder and edit this fields. Assign the CSS class - hidden in the Advanced options tab:

The user submits the form by link (the "Name" and "Email" fields are hidden):

User's entry:

To pass parameters to the embedded Form widget, you need to edit the embed code. The principle is the same as described above, but you need to add the &iframe=true parameter.

An example of an iframe embed code: <iframe src='https://quintadb.com/widgets/app-id/widget-id?0=JOHN&1=DOE&iframe=true'

In the case of javascript, you need to add parameters with values after the 'formHashURL'

Example: 'formHashURL':'/widgets/app-id/widget-id?0=JOHN&1=DOE&iframe=true'.

 

We hope it will be useful for you.

Read also: How to use parameters passing with conditional actions.